package cards;

import java.util.List;
import junit.framework.TestCase;

public class DeckTest extends TestCase{

	public void test2Players() {
		
		WarGame g = new WarGame();
		g.play(2);
		List<Player> allPlayers = g.getPlayers();
		assertEquals(182, allPlayers.get(0).getScore());
		
	}
	
	public void test3Players() {
		
		WarGame g = new WarGame();
		g.play(3);
		List<Player> allPlayers = g.getPlayers();
		assertEquals(126, allPlayers.get(0).getScore());
		
	}
	
	public void test4Players() {
		
		WarGame g = new WarGame();
		g.play(4);
		List<Player> allPlayers = g.getPlayers();
		assertEquals(91, allPlayers.get(0).getScore());
		
	}
	
}
